package main

import "fmt"

func main() {
	var slice [] int = [] int{1,2,3,4,5}
	s := make([]int, 5)
	copy(s, slice)
	fmt.Println(s)
	s[2] = 123
	fmt.Println(s)
	fmt.Println(slice)
}
